<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>操作管理 </title>
	{{>/WEB-INF/pages/common/meta_base.part.html}}
	{{>/WEB-INF/pages/common/refs_base.part.html}}
	{{>/WEB-INF/pages/common/refs_modal.part.html}}
<script type="text/javascript" src="{{ctx}}/static/bsl/js/rbac/rbac-operation.js"></script>
<style type="text/css">
  .a_nav{
    text-decoration: none;
	color: black;
  }
</style>
</head>
<body>
	{{>/WEB-INF/pages/common/layout_header.part.html}}
	
	<!-- 内容开始 -->
	<div class="container">
		<ul class="breadcrumb">
		  <li><a href="{{ctx}}">首页</a></li>
		  <li><a href="{{ctx}}/rbac/user/user-view">安全中心</a></li>
		  <li class="active">操作管理</li>
		</ul>
		<hr class="hr1">
		<div class="hr-10"></div>
		<div class="hr-10"></div>
		<div class="hr-10"></div>
		
		<div class="container nr_bgc">
			<div class="bg-ga container">
			<!-- 左边导航栏 -->
			<div class="col-sm-2 left_tab">
				<ul style=" margin: 0 ">
					<li class="leff_tab_choose">安全中心</li>
					<li><a class="a_nav" href="{{ctx}}/rbac/user/user-view#">用户管理</a></li>
					<li><a class="a_nav" href="{{ctx}}/rbac/privilege/privilege-view#">角色管理</a></li>
					<li class="menu-choose"><a class="a_nav" href="{{ctx}}/rbac/operation/operation-view#">操作管理</a></li>
					<li><a class="a_nav" href="{{ctx}}/mam-rbac/admins/list">管理员管理</a></li>
				</ul>

			</div>

			<!-- 右边的表格 -->
			<div class=" pull-left col-sm-10 right_tab">
				<div class="bg_green2-w">
					<div class="intro">操作管理</div>
				</div>
				<div class="hr-10"></div>
				
				<p class="navbar-form btn-w">
 					<button class="btn btn-sm btn-primary tls" type="button" data-toggle="modal" href="#addOperationModal">新增</button>
					<button type="botton" class="btn tls btn-common btn-sm" 
						onclick="deleteOperations()">删除</button>
				</p>

				<div class="hr-10"></div>
				<div class="mar-st-r10">
					<table id="privilegeList" border="0" cellpadding="0" cellspacing="0"
						class="table table-bordered table-center">
						<thead>
							<tr class="title title10"
								style="background-color: rgb(248, 248, 248);">
								<th class="bd_txt2 bd_le" width="3%">
									<input id="selectAllCheckbox" class="choice-w" type="checkbox" onchange="selectAll('selectAllCheckbox','operationListBody')">
								</th>
								<th class="bd_txt2 bd_le" >操作项</th>
								<th class="bd_txt2 bd_le" >操作</th>
							</tr>
						</thead>
						<tbody  id="operationListBody">
							{{#list}}
							<tr style="background-color: rgb(255, 255, 255);">
								<td class="bd_txt3">
									<input class="choice-w" type="checkbox" name="cb" id="{{id}}" value="{{id}}">
								<td class="bd_txt3">{{name}}</td>
								<td class="bd_txt3">
              						<button type="botton" class="btn btn-sm btn-common"
										onclick="editOperation('{{id}}')">编辑</button>
								</td>
							</tr>
							{{/list}}
						</tbody>
					</table>
					{{#page}} {{>/WEB-INF/pages/common/pagination.part.html}} {{/page}}
				</div>


			</div>
		
		</div>
		</div>
	</div>

	{{>/WEB-INF/pages/common/layout_footer.part.html}}
	{{>/WEB-INF/pages/rbac/rbac-operation-modal.html}}



</body>
</html>
